package com.wt.admin.mapper.language;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wt.admin.domain.dto.language.QADTO;
import com.wt.admin.domain.entity.language.QAEntity;
import com.wt.admin.domain.vo.language.QAVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface QAMapper extends BaseMapper<QAEntity> {

    IPage<QAVO> list(Page<QADTO> page,@Param("data") QADTO data);

    List<QAEntity> findByIds(@Param("list") List<Integer> id);
}
